TextObject Object

The Text Object represents a text object found in a report. This object provides properties for retrieving information and setting options for a text object in your report.

TextObject Object Properties

Property Description Read/Write Restriction in
event handler

BackColor

OLE_COLOR. Gets or sets the object background color.

Read/Write

Can be written only when formatting idle or active.

BorderColor

OLE_COLOR. Gets or sets the object border color.

Read/Write

Can be written only when formatting idle or active.

BottomLineStyle

CRLineStyle. Gets or sets the bottom line style.

Read/Write

Can be written only when formatting idle or active.

CanGrow

Boolean. Gets or sets the can grow option.

Read/Write

Can be written only when formatting idle or active.

CharacterSpacing

Long. Gets or sets the character spacing.

Read/Write

Can be written only when formatting idle.

CloseAtPage
Break

Boolean. Gets or sets th close border on page break option.

Read/Write

Can be written only when formatting idle or active.

FirstLineIndent

Long. Gets or sets first line indent, in twips.

Read/Write

Can be written only when formatting idle.

Font

IFontDisp. Gets or sets the standard OLE font of the text object.

Read/Write

Can be written only when formatting idle or active.

HasDropShadow

Boolean. Gets or sets the border drop shadow option.

Read/Write

Can be written only when formatting idle or active.

Height

Long. Gets or sets the object height, in twips.

Read/Write

Can be written only when formatting idle or active.

HorAlignment

CRAlignment. Gets or sets the horizontal alignment.

Read/Write

Can be written only when formatting idle.

KeepTogether

Boolean. Gets or sets the keep area together option.

Read/Write

Can be written only when formatting idle or active.

Kind

CRObjectKind. Gets what kind of object (for example, box, cross-tab, field).

Read only

None

Left

Long. Gets or sets the object upper left position, in twips.

Read/Write

Can be written only when formatting idle or active.

LeftIndent

Long. Gets or sets left indent.

Read/Write

Can be written only when formatting idle.

LeftLineStyle

CRLineStyle. Gets or sets the left line style.

Read/Write

Can be written only when formatting idle or active.

LineSpacing

Double. Gets the line spacing.

Read only

Can be written only when formattin idle.

LineSpacingType

CRLineSpacingType. Gets the line spacing type.

Read only


MaxNumberOf
Lines

Integer. Gets or sets the maximum number of line for a string memo field.

Read/Write

Can be written only when formatting idle or active.

Name

String. Gets or sets area name.

Read/Write

Can be written only when formatting idle.

Parent

Section Object. Gets reference to the parent object.

Read only

None

RightIndent

Long. Gets or sets the right indent.

Read/Write

Can be written only when formatting idle.

RightLineStyle

CRLineStyle. Gets or sets the right line style.

Read/Write

Can be written only when formatting idle or active.

Suppress

Boolean. Gets or sets object visibility.

Read/Write

Can be written only when formatting idle or active.

SuppressIf
Duplicated

Boolean. Gets or sets the suppress if duplicated option.

Read/Write

Can be written only when formatting idle or active.

Text

String. Gets the text within the text object. If it has embedded fields, [] is used to represent the embedded field.

Read only

None

TextColor

OLE_COLOR. Gets or sets the object text color.

Read/Write

Can be written only when formatting idle.

TextRotation
Angle

CRRotationAngle. Gets or sets text rotation angle.

Read/Write

Can be written only when formatting idle.

Top

Long. Gets or sets the object upper top position, in twips.

Read/Write

Can be written only when formatting idle or active.

TopLineStyle

CRLineStyle. Gets or sets the top line style.

Read/Write

Can be written only when formatting idle or active.

Width

Long. Gets or sets the object width, in twips.

Read/Write

Can be written only when formatting idle or active.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com